{% extends 'usercenter-base.html' %}
{% block title %}我的收藏{% endblock %}
{% load staticfiles %}
{% block custom_bread %}
    <section>
        <div class="wp">
            <ul  class="crumbs">
                <li><a href="{% url 'index' %}">首页</a>></li>
                <li><a href="/users/info/">个人中心</a>></li>
                <li>我的收藏</li>
            </ul>
        </div>
    </section>
{% endblock %}

{% block right_content %}
    <div class="right" >
            <div class="personal_des Releasecont">
                <div class="head">
                    <h1>订阅教练</h1>
                </div>
            </div>
            <div class="personal_des permessage">

                <div class="messagelist">
                    {% for teacher in teacher_list %}
                    <div class=" butler_list butler-fav-box">
                        <dl class="des users">
                            <dt>
                                <a href="{% url 'teacher:detail' teacher.id %}">
                                    <img width="100" height="100" src="{{ MEDIA_URL }}{{ teacher.image }}"/>
                                </a>
                            </dt>
                            <dd>
                                <h1>
                                    <a href="{% url 'teacher:detail' teacher.id %}">
                                        {{ teacher.username }}<span class="key">认证教师</span>
                                    </a>
                                </h1>
                                <ul class="cont clearfix">
                                    <li class="time">生日：<span>{{ teacher.birthday }}</span></li>
                                    <li class="c7">联系电话：<span>{{ teacher.mobile }}</span></li>
                                </ul>
                                <ul class="cont clearfix">
                                    <li class="time">地址：<span>{{ teacher.address }}</span></li>
                                    <li class="c7">上次登录：<span>{{ teacher.last_login }}</span></li>
                                </ul>
                            </dd>
{#                            <div class="delete jsDeleteFav_teacher" data-favid="{{ teacher.id }}"></div>#}
                        </dl>
                    </div>
                    {% endfor %}
                </div>
            </div>
        </div>
{% endblock %}


